package com.waterfairy.application

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.waterfairy.recordaudiolibrary.AudioRecordTool
import java.io.IOException

class MainActivity : AppCompatActivity(), AudioRecordTool.OnRecordListener {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

//        pick_view.setOnPickListener { pickrView, any, pos -> button.text = any.toString() }
//        button.setOnClickListener { view -> pick_view.currentPos = 10 }
 }

    override fun onError(e: IOException?) {

    }

    override fun onComplete(pcmPath: String?) {

    }
}